package org.lucky.admin;

import cn.hutool.crypto.SecureUtil;
import cn.shuibo.annotation.EnableSecurity;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan("org.lucky.admin.mapper")
@EnableSecurity
public class AdminStart {
    public static void main(String[] args) {
        SpringApplication.run(AdminStart.class,args);

//        SecureUtil.disableBouncyCastle();
    }
}
